package cn.tedu.zhwy.user.mapper;

import cn.tedu.zhwy.user.pojo.dto.UserLoginParam;
import cn.tedu.zhwy.user.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    UserVO selectByUsername(@Param("username") String username, @Param("password") String password);

    List<UserVO> select(UserLoginParam userLoginParam);
}
